<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="plantId" name="plantId" th:value="${plantingDO.plantId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">基地编号：</label>
                            <div class="col-sm-8">
                                <input id="baseNumber" name="baseNumber" th:value="${plantingDO.baseNumber}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">基地名称：</label>
                            <div class="col-sm-8">
                                <input id="baseTitle" name="baseTitle" th:value="${plantingDO.baseTitle}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">基地地址：</label>
                            <div class="col-sm-8">
                                <input id="baseAddress" name="baseAddress" th:value="${plantingDO.baseAddress}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">种植面积：</label>
                            <div class="col-sm-8">
                                <input id="plantingArea" name="plantingArea" th:value="${plantingDO.plantingArea}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">基地负责人：</label>
                            <div class="col-sm-8">
                                <input id="baseManager" name="baseManager" th:value="${plantingDO.baseManager}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">区域气候：</label>
                            <div class="col-sm-8">
                                <input id="regionalClimate" name="regionalClimate"
                                       th:value="${plantingDO.regionalClimate}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">日照时间：</label>
                            <div class="col-sm-8">
                                <input id="sunshineTime" name="sunshineTime"
                                       th:value="${#dates.format(plantingDO.sunshineTime,'yyyy-MM-dd HH:mm')}"
                                       class="form-control" type="datetime-local">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">昼夜温差：</label>
                            <div class="col-sm-8">
                                <input id="tempDif" name="tempDif" class="form-control" th:value="${plantingDO.tempDif}"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/planting/edit.js">

</script>
</body>
</html>
